Dart.Mail Namespace > TcpBase Class > ReadToDelimiter Method : ReadToDelimiter(String[]) Method |
Public Overloads Function ReadToDelimiter( _ ByVal delimiters() As String _ ) As Data
Dim instance As TcpBase Dim delimiters() As String Dim value As Data value = instance.ReadToDelimiter(delimiters)
public Data ReadToDelimiter( string[] delimiters )
public: Data* ReadToDelimiter( string*[]* delimiters )
public: Data^ ReadToDelimiter( array<String^>^ delimiters )
Exception | Description |
---|---|
DataException | The delimiter was not found. The DataException.DataRead property contains any data received before the failure occurred. |
This method blocks until a delimiter is found, an exception is thrown, or the server closes the connection. The value of Data.Delimiter is set to the found delimiter, if any.
If a DataException is thrown, the DataException.DataRead property contains any data received prior to the exception.